package ModelLayer;


/**
 * Write a description of class Discount here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Discount
{
    // instance variables - replace the example below with your own
    private long id;
    private int percentage;

    /**
     * Constructor for objects of class Discount
     */
    public Discount(long id, int percentage)
    {
        this.id = id;
        this.percentage = percentage;
    }

    public void setId(long newid)
    {
        id = newid;
    }
    
    public void setPercentage(int newpercentage)
    {
        percentage = newpercentage;
    }
    
    public long getId()
    {
        return id;
    }
    
    public int getPercentage()
    {
        return percentage;
    }
}
